package com.syas.service.services;

import com.syas.base.service.services.EntityService;
import com.syas.dao.interfaces.IAmortcoetDao;
import com.syas.model.models.Amortcoet;
import com.syas.service.interfaces.IAmortcoetServcie;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by weigong on 2015/12/5.
 */
@Service("AmortcoetServcie")
public class AmortcoetServcie  extends EntityService<Integer, Amortcoet, IAmortcoetDao> implements IAmortcoetServcie {

    @Autowired
    public AmortcoetServcie(@Qualifier("AmortcoetDao") IAmortcoetDao amortcoetDao) {
        super(amortcoetDao);
    }

    @Override
    public List<Amortcoet> getAmortcoetList() {
        return entityDao.getAmortcoetList();
    }
}
